package com.freesky.web.portal.reomte.fallback;

import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.common.vo.VOCart;
import com.freesky.common.vo.CartItem;
import com.freesky.common.pojo.Result;
import com.freesky.web.portal.reomte.CartRemote;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class CartRemoteFallback implements CartRemote {
    private Logger logger = LoggerFactory.getLogger(CartRemoteFallback.class);

    @Override
    public JSONResponse addCart(VOCart cart) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse getCartList(VOCart cart) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse updateCartNum(VOCart cart) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse editCheckAll(VOCart cart) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse deleteCartItem(VOCart cart) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse delChecked(VOCart cart) {
        logger.error("服务维护中");
        return null;
    }
}
